projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12ea59a
)
* term.c (produce_glyphless_glyph): Remove unnecessary test.
author
Paul Eggert
<eggert@cs.ucla.edu>
Wed, 23 Mar 2011 08:09:13 +0000
(
01:09
-0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Wed, 23 Mar 2011 08:09:13 +0000
(
01:09
-0700)
src/ChangeLog
patch
|
blob
|
history
src/term.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index 1d3d4d651746d72f1fb8d85437a3ef5923ee1576..47d9dbe5aa2919250b0fe80d5c59c6345e7be5ce 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,5
+1,7
@@
2011-03-23 Paul Eggert <eggert@cs.ucla.edu>
+ * term.c (produce_glyphless_glyph): Remove unnecessary test.
+
* cm.c (calccost): Turn while-do into do-while, for clarity.
Fix more problems found by GCC 4.5.2's static checks.
diff --git
a/src/term.c
b/src/term.c
index e84bbe125f841439d054570fb3a296f9425be639..94fafd73ed88cf0a1f0957052468dbdc4ec843f8 100644
(file)
--- a/
src/term.c
+++ b/
src/term.c
@@
-1952,7
+1952,7
@@
produce_glyphless_glyph (struct it *it, int for_no_font, Lisp_Object acronym)
it->pixel_width = len;
it->nglyphs = len;
- if (
len > 0 &&
it->glyph_row)
+ if (it->glyph_row)
append_glyphless_glyph (it, face_id, str);
}